package com.yy.ant.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyingying
 * @since 2019-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_user")
public  class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;
    
    /**
     * 用户账号
     */
    private String uname;

    /**
     * 用户姓名
     */
    private String username;

    /**
     * 用户密码
     */
    private String upass;

    private String status;
    
    
    private String phone;

    
    private Date createtime;
    
    private String remarks;

    private String sign;
    
    private String avatar="";

    /**
     * 用户状态0正常，1禁用
     */
    private Integer states;


	@TableField(exist=false)
	private boolean success;

    @TableField(exist=false)
    private String msg;
    
}
